package com.foo.example.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.google.gson.annotations.Expose;

@Entity
@Table(name = "W_EXAMPLE")
/**
 * Just for example here
 * @author Steve
 *
 */
public class MyExample {
	@Id
	@Column(name = "id", length = 36)
	@javax.persistence.GeneratedValue(generator = "system-uuid")
	@org.hibernate.annotations.GenericGenerator(name = "system-uuid",
			strategy = "uuid2")
	@Expose
	private String id;
	private Date expDate = new Date();
	private String expStr = "";
	private int expInt = 0;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getExpDate() {
		return expDate;
	}

	public void setExpDate(Date expDate) {
		this.expDate = expDate;
	}

	public String getExpStr() {
		return expStr;
	}

	public void setExpStr(String expStr) {
		this.expStr = expStr;
	}

	public int getExpInt() {
		return expInt;
	}

	public void setExpInt(int expInt) {
		this.expInt = expInt;
	}

}
